package com.gx.recruitment.service.impl;

import com.gx.recruitment.entity.Comp_receiveresume;
import com.gx.recruitment.entity.Comp_receiveresumeExample;
import com.gx.recruitment.mapper.Comp_receiveresumeMapper;
import com.gx.recruitment.service.CompReResumeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CompReResumeServiceImpl implements CompReResumeService {
    @Resource
    private Comp_receiveresumeMapper comp_receiveresumeMapper;

    @Override
    public int insertReResume(Comp_receiveresume record) {
        comp_receiveresumeMapper.insert(record);
        return 0;
    }

    @Override
    public List<Comp_receiveresume> selectByExample(Comp_receiveresumeExample example) {
        return comp_receiveresumeMapper.selectByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer resumeId) {
        comp_receiveresumeMapper.deleteByPrimaryKey(resumeId);
        return 0;
    }


}
